package com.xszx.server.mapper;

import com.xszx.server.dto.Page;
import com.xszx.server.entity.Role;
import com.xszx.server.entity.User;

import java.util.List;

public interface RoleMapper {
    //查询全部的大章
    List<Role> findAll(Page page);

    //统计当前表中的数据条数
    int findCount();
    int deleteByPrimaryKey(String id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);
}
